<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%  
    //如果session失效(tomcat默认是30分钟)，就不能让用户访问个人中心
     if(session.getAttribute("talent") == null){
    	 response.sendRedirect(request.getContextPath()+"/view/talent/login.jsp");
    	 return;
     }
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>求职者个人资料</title>
  <%@ include file="/view/common/bootstarp.jsp" %>
</head>
<body>
    
   <span class="label label-info">欢迎您:${talent.name }</span>
   <span class="pull-right">
    <a href="<%=request.getContextPath()%>/view/talent/talent-info.jsp">个人中心</a> |
    <a href="<%=request.getContextPath()%>/TalentServlet?command=logout" onclick="return confirm('非要注销吗?')">系统注销</a>
   </span> 
